write the equation